﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERP.Domain.SalesManagement
{
    /// <summary>
    /// 售后管理
    /// </summary>
    public class Management
    {
        /// <summary>
        /// 售后管理Id
        /// </summary>
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 客诉单号
        /// </summary>
        public string ComplaintNumber {  get; set; }
        /// <summary>
        /// 客诉日期
        /// </summary>
        public DateTime? ComplaintTime {  get; set; }
        /// <summary>
        /// 销售出库单号
        /// </summary>
        public string UtboundNumber { get; set; }
        /// <summary>
        /// 出货检验单号
        /// </summary>
        public string ShipmentNumber {  get; set; }
        /// <summary>
        /// 出库日期
        /// </summary>
        public DateTime? OutboundDate { get; set; }
        /// <summary>
        /// 销售编号
        /// </summary>
        public int SalesId {  get; set; }
        /// <summary>
        /// 客户
        /// </summary>
        public int CustomerId {  get; set; }
        /// <summary>
        /// 产品
        /// </summary>
        public int ProductId {  get; set; }
        /// <summary>
        /// 批次号
        /// </summary>
        public string BatchNumber {  get; set; }
        /// <summary>
        /// 客诉数量
        /// </summary>
        public int ComplaintCount { get; set; }
        /// <summary>
        /// 处理期限
        /// </summary>
        public DateTime? UpdateTime {  get; set; }
        /// <summary>
        /// 退回数量
        /// </summary>
        public int QuantityReturned {  get; set; }
        /// <summary>
        /// 补货数量
        /// </summary>
        public int Replenishment {  get; set; }
        /// <summary>
        /// 扣款金额
        /// </summary>
        public decimal Price {  get; set; }
        /// <summary>
        /// 负责业务员
        /// </summary>
        public string Users {  get; set; }
        /// <summary>
        /// 是否审核
        /// </summary>
        public int Review {  get; set; }
        /// <summary>
        /// 是否处理
        /// </summary>
        public int Process {  get; set; }
        /// <summary>
        /// 是否结案
        /// </summary>
        public int Closed { get; set; }
    }
}
